import {httpGet, httpPost, httpDelete, httpPut} from '../services/http'
declare type Int64 = number

export interface AppAction extends Record<string, any> {
  actionCode?: string
  application?: string
  code?: string
  createdBy?: string
  createdOn?: string
  id?: Int64
  metadataVersion?: string
  modifiedBy?: string
  modifiedOn?: string
  moduleId?: Int64
  name?: string
  parentCode?: string
}

export interface AppAudit extends Record<string, any> {
  actionCode?: string
  actionName?: string
  createTime?: string
  id?: Int64
  ip?: string
  moduleName?: string
  systemName?: string
  userId?: Int64
  userName?: string
}

export interface AppConfigParam extends Record<string, any> {
  actionCode?: string
  appConfigParamOptionList?: AppConfigParamOption[]
  application?: string
  createdBy?: string
  createdOn?: string
  describe?: string
  groupId?: Int64
  id?: Int64
  keyName?: string
  metadataVersion?: string
  modifiedBy?: string
  modifiedOn?: string
  scope?: number
  showName?: string
  sort?: string
  type?: number
}

export interface AppConfigParamGroup extends Record<string, any> {
  application?: string
  createdBy?: string
  createdOn?: string
  id?: Int64
  metadataVersion?: string
  modifiedBy?: string
  modifiedOn?: string
  showName?: string
  sort?: string
}

export interface AppConfigParamOption extends Record<string, any> {
  application?: string
  configParamId?: Int64
  createdBy?: string
  createdOn?: string
  id?: Int64
  metadataVersion?: string
  modifiedBy?: string
  modifiedOn?: string
  text?: string
  value?: string
}

export interface AppDeleteAction extends Record<string, any> {
  entity?: string
  keyDataType?: string
  keyName?: string
  keyValue?: string
  refItemList?: AppDeleteActionItem[]
  usedItemList?: AppDeleteActionItem[]
}

export interface AppDeleteActionItem extends Record<string, any> {
  entity?: string
  entityName?: string
  refKeyName?: string
}

export interface AppDeleteResult extends Record<string, any> {
  msg?: string
  result?: boolean
}

export interface AppFilter extends Record<string, any> {
  field?: string
  keyName?: string
  list?: string[]
  max?: string
  min?: string
  opr?: string
  searchItemType?: string
  value?: string
}

export interface AppFormAction extends Record<string, any> {
  actionCode?: string
  id?: string
  isDisabled?: boolean
  isHidden?: boolean
  isHighlight?: boolean
  title?: string
}

export interface AppFormBlock extends Record<string, any> {
  appFormItemList?: AppFormItem[]
  colNumber?: number
  isHidden?: boolean
  labelWidth?: number
  title?: string
}

export interface AppFormData extends Record<string, any> {
  entity?: string
  fieldList?: AppFormFieldData[]
  keyName?: string
  keyValue?: Int64
  metadataId?: string
  mode?: number
  parentId?: Int64
  tree?: boolean
}

export interface AppFormFieldData extends Record<string, any> {
  changed?: boolean
  dataType?: string
  field?: string
  lable?: string
  save?: boolean
  unAllowSame?: boolean
  unSameScopeField?: string
  value?: string
}

export interface AppFormItem extends Record<string, any> {
  appFormItemOptionLabelField?: string
  appFormItemOptionList?: MetadataOption[]
  appFormItemOptionValueField?: string
  colSpan?: number
  dataSourceType?: string
  dataType?: string
  defaultValue?: string
  error?: string
  field?: string
  forbidChars?: string
  format?: string
  isHidden?: boolean
  isSave?: boolean
  isSaveText?: boolean
  label?: string
  labelHidden?: boolean
  maxLength?: number
  maxNumber?: number
  minNumber?: number
  name?: string
  paramId?: Int64
  placeholder?: string
  prefix?: string
  prefixField?: string
  readonlyMode?: string
  req?: boolean
  rowSpan?: number
  rows?: number
  sql?: string
  text?: string
  textField?: string
  tips?: string
  type?: string
  unAllowSame?: boolean
  unSameScopeField?: string
  unit?: string
  value?: string
}

export interface AppFormLayout extends Record<string, any> {
  apiPath?: string
  appFormMenu?: AppFormMenu
  appFormTabs?: AppFormTabs
  entityId?: Int64
  entityName?: string
  keyName?: string
  sqlCommand?: string
  sqlId?: string
  type?: string
}

export interface AppFormMenu extends Record<string, any> {
  appFormActionList?: AppFormAction[]
}

export interface AppFormQuery extends Record<string, any> {
  entity?: string
  keyDataType?: string
  keyName?: string
  keyValue?: string
  sql?: string
  sqlId?: string
}

export interface AppFormResult extends Record<string, any> {
  errorKey?: string
  keyValue?: string
  msg?: string
  result?: boolean
}

export interface AppFormSaveData extends Record<string, any> {
  entity?: string
  itemList?: AppFormSaveItem[]
  keyDataType?: string
  keyName?: string
  keyValue?: string
  mode?: number
  parentId?: string
}

export interface AppFormSaveItem extends Record<string, any> {
  dataType?: string
  field?: string
  keyName?: string
  label?: string
  scopeDataType?: string
  scopeField?: string
  scopeValue?: string
  unRepeat?: boolean
  value?: string
}

export interface AppFormTab extends Record<string, any> {
  appFormBlockList?: AppFormBlock[]
  borderStyle?: number
  isHidden?: boolean
  tabId?: Int64
  title?: string
}

export interface AppFormTabs extends Record<string, any> {
  appFormTabList?: AppFormTab[]
  defaultTabId?: Int64
  tabList?: AppFormTab[]
}

export interface AppGridAdvancedSearch extends Record<string, any> {
  appGridAdvancedSearchItemList?: AppGridAdvancedSearchItem[]
  labelWidth?: number
}

export interface AppGridAdvancedSearchItem extends Record<string, any> {
  apiPath?: string
  appGridAdvancedSearchItemOptionList?: MetadataOption[]
  dataType?: string
  field?: string
  keyName?: string
  label?: string
  optionType?: string
  showMoreItem?: boolean
  sql?: string
  type?: string
}

export interface AppGridCommonSearch extends Record<string, any> {
  appGridCommonSearchItemList?: AppGridCommonSearchItem[]
}

export interface AppGridCommonSearchItem extends Record<string, any> {
  dataType?: string
  field?: string
  keyName?: string
  label?: string
}

export interface AppGridHeard extends Record<string, any> {
  appGridMenu?: AppGridMenu
}

export interface AppGridLayout extends Record<string, any> {
  appGridHeard?: AppGridHeard
  appGridSearch?: AppGridSearch
  appGridViewList?: AppGridView[]
  defaultViewId?: Int64
  entityId?: Int64
  entityName?: string
}

export interface AppGridMenu extends Record<string, any> {
  appActionList?: AppFormAction[]
}

export interface AppGridSearch extends Record<string, any> {
  appGridAdvancedSearch?: AppGridAdvancedSearch
  appGridCommonSearch?: AppGridCommonSearch
  defaultShowMore?: boolean
  projectFilter?: boolean
  projectFilterField?: string
  projectFilterKeyName?: string
  projectFilterLabel?: string
  projectFilterType?: number
}

export interface AppGridView extends Record<string, any> {
  appTable?: AppTable
  title?: string
  viewId?: Int64
}

export interface AppModule extends Record<string, any> {
  appActionList?: AppAction[]
  application?: string
  code?: string
  createdBy?: string
  createdOn?: string
  enabled?: number
  fullCode?: string
  id?: Int64
  metadataVersion?: string
  modifiedBy?: string
  modifiedOn?: string
  name?: string
  parentCode?: string
  parentId?: Int64
  sort?: string
  url?: string
}

export interface AppModuleGroup extends Record<string, any> {
  application?: string
  code?: string
  createdBy?: string
  createdOn?: string
  enabled?: number
  fullCode?: string
  icon?: string
  id?: Int64
  metadataVersion?: string
  modifiedBy?: string
  modifiedOn?: string
  name?: string
  parentCode?: string
  sort?: string
}

export interface AppOrgan extends Record<string, any> {
  code?: string
  createdBy?: string
  createdOn?: string
  disabled?: boolean
  fullCode?: string
  id?: Int64
  mdId?: string
  modifiedBy?: string
  modifiedOn?: string
  name?: string
  organType?: number
  parentId?: Int64
  sapCity?: string
}

export interface AppPage extends Record<string, any> {
  appPageLayoutList?: AppPageLayout[]
  application?: string
  createdBy?: string
  createdOn?: string
  description?: string
  functionCode?: string
  functionPageId?: string
  id?: Int64
  layoutType?: number
  metadataVersion?: string
  modifiedBy?: string
  modifiedOn?: string
  name?: string
  pageName?: string
  parentPage?: string
  systemCode?: string
  title?: string
  titleSuffix?: string
  url?: string
}

export interface AppPageLayout extends Record<string, any> {
  application?: string
  height?: number
  id?: string
  metadataId?: Int64
  type?: string
  width?: number
}

export interface AppParam extends Record<string, any> {
  actionCode?: string
  application?: string
  createdBy?: string
  createdOn?: string
  describe?: string
  groupId?: Int64
  id?: Int64
  keyName?: string
  metadataVersion?: string
  modifiedBy?: string
  modifiedOn?: string
  pageUrl?: string
  paramType?: number
  scope?: number
  showName?: string
  sort?: string
}

export interface AppParamGroup extends Record<string, any> {
  application?: string
  createdBy?: string
  createdOn?: string
  id?: Int64
  metadataVersion?: string
  modifiedBy?: string
  modifiedOn?: string
  showName?: string
  sort?: string
}

export interface AppParamOutput extends Record<string, any> {
  appConfigParamGroupList?: AppConfigParamGroup[]
  appConfigParamList?: AppConfigParam[]
  appParamGroupList?: AppParamGroup[]
  appParamList?: AppParam[]
}

export interface AppPermissions extends Record<string, any> {
  actionList?: string[]
  systemList?: SystemVo[]
}

export interface AppRole extends Record<string, any> {
  createdBy?: string
  createdOn?: string
  id?: Int64
  isAdmin?: number
  modifiedBy?: string
  modifiedOn?: string
  name?: string
  remarks?: string
}

export interface AppSearchData extends Record<string, any> {
  dataType?: string
  field?: string[]
  itemType?: string
  keyName?: string
  maxValue?: string
  minValue?: string
  value?: string
  valueList?: string[]
}

export interface AppSystem extends Record<string, any> {
  application?: string
  code?: string
  createdBy?: string
  createdOn?: string
  enabled?: number
  id?: Int64
  metadataVersion?: string
  modifiedBy?: string
  modifiedOn?: string
  name?: string
  sort?: string
}

export interface AppTable extends Record<string, any> {
  apiPath?: string
  appTableColList?: AppTableCol[]
  appTableParamList?: AppTableParam[]
  colActionWidth?: number
  multiSelect?: boolean
  paging?: boolean
  showIndexColumn?: boolean
  sqlCommand?: string
  sqlId?: string
  tableActionList?: AppFormAction[]
  type?: string
}

export interface AppTableCol extends Record<string, any> {
  field?: string
  fixed?: string
  title?: string
  width?: number
}

export interface AppTableList extends Record<string, any> {
  list?: any[]
  total?: number
}

export interface AppTableParam extends Record<string, any> {
  field?: string
  value?: string
}

export interface AppTableQuery extends Record<string, any> {
  filterList?: AppFilter[]
  orderBy?: string
  page?: number
  paging?: boolean
  size?: number
  sql?: string
  sqlId?: string
}

export interface AppTreeDTO extends Record<string, any> {
  allowSelect?: boolean
  dataType?: string
  fullCode?: string
  fullName?: string
  id?: Int64
  isEnd?: number
  level?: number
  name?: string
  parentId?: Int64
}

export interface AppTreeData extends Record<string, any> {
  fullCode?: string
  level?: number
  parentId?: Int64
}

export interface AppUser extends Record<string, any> {
  account?: string
  adUser?: boolean
  companyId?: Int64
  createdBy?: string
  createdOn?: string
  disabled?: boolean
  email?: string
  gender?: string
  id?: Int64
  mobile?: string
  modifiedBy?: string
  modifiedOn?: string
  name?: string
  organId?: Int64
}

export interface AppUserMemory extends Record<string, any> {
  createdBy?: string
  createdOn?: string
  dataName?: string
  dataValue?: Int64
  id?: Int64
  modifiedBy?: string
  modifiedOn?: string
  scene?: number
  userId?: Int64
}

export interface AppletReqInput extends Record<string, any> {
  tel1?: string
  zj_NUM?: string
}

export interface AppletReqOutput extends Record<string, any> {
  aofyname?: string
  fund_ACTUAL?: string
  fund_name?: string
  hkbz?: string
  pjurl?: string
  ssrq?: string
  status?: string
  stkdbkey?: string
}

export interface Attach extends Record<string, any> {
  createdBy?: string
  createdOn?: string
  id?: Int64
  modifiedBy?: string
  modifiedOn?: string
  name?: string
  refId?: string
  refType?: string
  status?: string
  url?: string
}

export interface BankInfo extends Record<string, any> {
  aofq?: string
  aold?: string
  aoxm?: string
  bankl?: string
  bankn?: string
  db_KEY?: string
  fund_CODE?: string
  fund_TYPE?: string
  hbkid?: string
  hktid?: string
  id?: string
  zbanka?: string
}

export interface ChangePasswordInput extends Record<string, any> {
  password?: string
  userId?: Int64
}

export interface CnarrayOutput extends Record<string, any> {
  gwList?: GW[]
  khList?: KH[]
  order?: Order
  ysList?: YS[]
}

export interface ComponentDto extends Record<string, any> {
  application?: string
  id?: Int64
  isLeaf?: boolean
  modifiedBy?: string
  modifiedOn?: string
  name?: string
  type?: string
  typeEnum?: number
}

export interface CreatereceiptHeaderInput extends Record<string, any> {
  aofy?: string
  aoxm?: string
  bp?: string
  bpname?: string
  fptype?: string
  fundActual?: string
  fundActualTax?: string
  fundname?: string
  kpDate?: string
  kpname?: string
  kptime?: string
  pjno?: string
  pjpch?: string
  pjurl?: string
  poskey?: string
  rcid?: string
  rectype?: string
  remark?: string
  status?: string
  transacactionID?: string
}

export interface CreatereceiptInput extends Record<string, any> {
  header?: CreatereceiptHeaderInput
  itemList?: CreatereceiptItemInput[]
}

export interface CreatereceiptItemInput extends Record<string, any> {
  fundActual?: string
  fundActualTax?: string
  poskey?: string
  stkdbkey?: string
  zsl?: string
  zsm?: string
}

export interface CreatereceiptOutput extends Record<string, any> {
  poskey?: string
  recdbkey?: string
  shortlog?: string
  state?: string
}

export interface CreatestkOutput extends Record<string, any> {
  bcznj?: string
  db_KEY?: string
  db_KEY_HEX?: string
  ifdzsj?: string
  ifznj?: string
  positem_ID?: string
  shortlog?: string
  skjh_NUM?: string
  ssjl_NUM?: string
  state?: string
  zsk_NUM?: string
}

export interface CreatestkReqInput extends Record<string, any> {
  aofq?: string
  aofy?: string
  aoxm?: string
  bank_ID?: string
  bankn?: string
  bukrs?: string
  custnum?: string
  db_KEY?: string
  fk_BANKID?: string
  fk_BANKName?: string
  fk_NAME?: string
  fund_ACTUAL?: string
  fund_ACTUAL_TAX?: string
  fund_CODE?: string
  fund_TYPE?: string
  hbkid?: string
  hktid?: string
  ifpos?: string
  ifzs?: string
  order_TYPE?: string
  parent_KEY?: string
  pos_ID?: string
  pos_NUMB?: string
  pos_URL?: string
  positem_ID?: string
  possxf?: string
  rcid1?: string
  rec_ID?: string
  rec_TYPE?: string
  skjh_NUM?: string
  ssrq?: string
  transacactionid?: string
  type?: string
  waerk?: string
  zsl?: string
  zsm?: string
  zsszt?: string
}

export interface Custom extends Record<string, any> {
  cust_NAME?: string
  custnum?: string
  tel1?: string
  zj_NUM?: string
  zj_TYPE?: string
}

export interface EntAuthInput extends Record<string, any> {
  appId?: string
  customerId?: string
  serialNo?: string
  status?: string
  statusDesc?: string
}

export interface EnterpriseRcb extends Record<string, any> {
  createdBy?: string
  createdOn?: string
  customerId?: string
  id?: Int64
  isApplyCert?: number
  isCertificate?: number
  isDelete?: number
  isEnrolment?: number
  modifiedBy?: string
  modifiedOn?: string
  openId?: string
  openName?: string
  personUrl?: string
  projectId?: Int64
  status?: string
  transactionNo?: string
}

export interface EnterpriseRcbInput extends Record<string, any> {
  ids?: Int64[]
  projectId?: Int64
}

export interface EntitySearch extends Record<string, any> {
  name?: string
  orderBy?: string
  page?: number
  paging?: boolean
  size?: number
  sqlId?: string
  systemCode?: string
}

export interface ErpProjectInput extends Record<string, any> {
  erpProjectOutputList?: ErpProjectOutput[]
  organId?: Int64
}

export interface ErpProjectOutput extends Record<string, any> {
  parentId?: string
  posId?: string
  post1?: string
  sapCity?: string
  stufe?: string
}

export interface FormSaveResult extends Record<string, any> {
  field?: string
  keyValue?: Int64
  msg?: string
  result?: boolean
}

export interface GW extends Record<string, any> {
  bname?: string
  parent_KEY?: string
  posnr?: string
  zgwlx?: string
  zygw_NAME?: string
}

export interface GenerateWebBillInput extends Record<string, any> {
  preview?: number
  templateId?: Int64
  voucherId?: Int64
}

export interface HouseOutput extends Record<string, any> {
  aofyname?: string
  ponum?: string
  zfjnm?: string
  zsl?: string
  zsm?: string
  zszdy?: string
}

export interface HouseSearch extends Record<string, any> {
  orderBy?: string
  page?: number
  paging?: boolean
  posId?: string
  size?: number
  sqlId?: string
}

export interface HttpResult extends Record<string, any> {
  data?: any
  msg?: string
  result?: boolean
}

export interface KH extends Record<string, any> {
  cust_NAME?: string
  custnum?: string
  number?: number
  parent_KEY?: string
  tel1?: string
  zj_NUM?: string
  zj_TYPE?: string
}

export interface LoginInput extends Record<string, any> {
  account?: string
  entCode?: string
  password?: string
  rememberMe?: boolean
  systemCode?: string
}

export interface LoginOutput extends Record<string, any> {
  expirationDate?: string
  permissions?: AppPermissions
  token?: string
  userId?: Int64
  userName?: string
}

export interface LoginResult extends Record<string, any> {
  data?: LoginOutput
  msg?: string
  result?: boolean
}

export interface MdmPermissionInput extends Record<string, any> {
  id?: Int64
  list?: Int64[]
  mode?: string
}

export interface MdmProject extends Record<string, any> {
  code?: string
  createdBy?: string
  createdOn?: string
  fullCode?: string
  id?: Int64
  mdId?: string
  modifiedBy?: string
  modifiedOn?: string
  name?: string
  organId?: Int64
  parentId?: Int64
  podParentId?: string
  posId?: string
  sapCity?: string
  stufe?: string
}

export interface MetadataAttribute extends Record<string, any> {
  alias?: string
  attributeType?: string
  columnNumber?: number
  dbType?: string
  displayName?: string
  id?: Int64
  isNullable?: boolean
  isPrimaryAttribute?: boolean
  isSystem?: boolean
  length?: number
  name?: string
}

export interface MetadataEntity extends Record<string, any> {
  application?: string
  createdBy?: string
  createdOn?: string
  displayName?: string
  id?: Int64
  isSystem?: boolean
  metadataAttributeList?: MetadataAttribute[]
  metadataVersion?: string
  modifiedBy?: string
  modifiedOn?: string
  name?: string
  primaryKey?: string
}

export interface MetadataForm extends Record<string, any> {
  appFormLayout?: AppFormLayout
  application?: string
  createdBy?: string
  createdOn?: string
  description?: string
  formData?: any
  functionPageId?: string
  id?: Int64
  metadataVersion?: string
  modifiedBy?: string
  modifiedOn?: string
  name?: string
}

export interface MetadataGrid extends Record<string, any> {
  appGridLayout?: AppGridLayout
  application?: string
  createdBy?: string
  createdOn?: string
  description?: string
  functionPageId?: string
  id?: Int64
  metadataVersion?: string
  modifiedBy?: string
  modifiedOn?: string
  name?: string
}

export interface MetadataOption extends Record<string, any> {
  label?: string
  value?: string
}

export interface MetadataView extends Record<string, any> {
  application?: string
  createdBy?: string
  createdOn?: string
  displayName?: string
  id?: Int64
  metadataAttributeList?: MetadataAttribute[]
  metadataVersion?: string
  modifiedBy?: string
  modifiedOn?: string
  name?: string
  sqlText?: string
}

export interface MetadataViewIn extends Record<string, any> {
  displayName?: string
  name?: string
  sqlText?: string
  systemCode?: string
}

export interface ModelingPageSearch extends Record<string, any> {
  apiPath?: string
  appSearchDataList?: AppSearchData[]
  application?: string
  id?: Int64
  idField?: string
  orderBy?: string
  page?: number
  pageId?: Int64
  paging?: boolean
  size?: number
  sql?: string
  sqlId?: string
  viewId?: Int64
}

export interface ModuleGrid extends Record<string, any> {
  application?: string
  code?: string
  createdBy?: string
  createdOn?: string
  enabled?: number
  fullCode?: string
  icon?: string
  id?: Int64
  isEnd?: number
  level?: number
  metadataVersion?: string
  modifiedBy?: string
  modifiedOn?: string
  name?: string
  parentCode?: string
  parentId?: Int64
  showCode?: string
  sort?: string
  url?: string
}

export interface ModuleGroupVo extends Record<string, any> {
  enabled?: number
  fullCode?: string
  icon?: string
  moduleList?: ModuleVo[]
  name?: string
}

export interface ModuleVo extends Record<string, any> {
  enabled?: number
  fullCode?: string
  name?: string
  url?: string
}

export interface Order extends Record<string, any> {
  actual_NUMBER?: string
  aofy?: string
  aofyname?: string
  aold?: string
  auart?: string
  busks?: string
  db_KEY?: string
  ifbg?: string
  overdue?: string
  paper_VBELN?: string
  transacactionID?: string
  vbeln?: string
  zsl?: string
  zsm?: string
}

export interface OrderInputT extends Record<string, any> {
  tel1?: string
  type?: string
  zjnum?: string
  zprojectno?: string
}

export interface PageList extends Record<string, any> {
  list?: any[]
  total?: number
}

export interface PageListOfHouseOutput extends Record<string, any> {
  list?: HouseOutput[]
  total?: number
}

export interface PageListOfMetadataEntity extends Record<string, any> {
  list?: MetadataEntity[]
  total?: number
}

export interface PageListOfMetadataView extends Record<string, any> {
  list?: MetadataView[]
  total?: number
}

export interface PageListOfModuleGrid extends Record<string, any> {
  list?: ModuleGrid[]
  total?: number
}

export interface PosAppBank extends Record<string, any> {
  bankName?: string
  bankNumber?: string
  erpBankId?: string
  id?: Int64
}

export interface PosAppBankIuput extends Record<string, any> {
  erpFeeIds?: string[]
  erpTradeId?: string
  fundId?: Int64
  mac?: string
  projectId?: Int64
  roomCode?: string
  scene?: string
}

export interface PosAppCustomer extends Record<string, any> {
  erpId?: string
  name?: string
  tel?: string
  zjNumber?: string
  zjType?: string
}

export interface PosAppFee extends Record<string, any> {
  actualNumber?: string
  aofy?: string
  aoxm?: string
  customer?: PosAppCustomer
  erpId?: string
  erpTradeId?: string
  fundActual?: number
  fundAmount?: number
  fundCode?: string
  fundName?: string
  ifbg?: number
  rcId?: string
  roomName?: string
  skjhNum?: string
  transactionId?: string
  vbeln?: string
  ye?: number
  ysrq?: string
}

export interface PosAppFeeOutput extends Record<string, any> {
  amount?: number
  createdOn?: string
  electronicBillUrl?: string
  fundName?: string
  id?: Int64
  voucherId?: Int64
}

export interface PosAppGenerateBillInput extends Record<string, any> {
  getInFeeIdList?: Int64[]
  preview?: number
  projectId?: Int64
  remarks?: string
  templateId?: Int64
}

export interface PosAppGetinFeeIuput extends Record<string, any> {
  amount?: number
  erpFeeId?: string
}

export interface PosAppGetinIuput extends Record<string, any> {
  amount?: number
  amt?: string
  aofy?: string
  aoxm?: string
  appName?: string
  bankCancelInfo?: string
  bankInfo?: string
  bankName?: string
  bankNumber?: string
  batchNo?: string
  cardIssuer?: string
  cardNo?: string
  chinaPayRefId?: string
  date?: string
  erpBankId?: string
  erpCustomerId?: string
  extOrderNo?: string
  fundId?: Int64
  getinFeeList?: PosAppGetinFeeIuput[]
  handler?: string
  id?: Int64
  mac?: string
  merchantName?: string
  merchantNo?: string
  payMode?: string
  payNo?: string
  payer?: string
  posBankId?: Int64
  posCode?: string
  posGetInCustomerList?: PosGetInCustomer[]
  projectId?: Int64
  rcId?: string
  refId?: string
  refNo?: string
  resCode?: string
  scene?: string
  settleDate?: string
  skjhNum?: string
  terminalNo?: string
  time?: string
  traceNo?: string
  transId?: string
  transactionId?: string
}

export interface PosAppMdmDyOutput extends Record<string, any> {
  fjList?: PosAppMdmFj[]
  name?: string
}

export interface PosAppMdmFj extends Record<string, any> {
  dyName?: string
  name?: string
  sapId?: string
  zfjnm?: string
}

export interface PosAppMdmFqOutput extends Record<string, any> {
  ldList?: PosAppMdmLd[]
  name?: string
  sapId?: string
}

export interface PosAppMdmLd extends Record<string, any> {
  fqSapId?: string
  name?: string
  sapId?: string
}

export interface PosAppPrintTemplate extends Record<string, any> {
  id?: Int64
  sealName?: string
  templateName?: string
}

export interface PosAppProjectOutput extends Record<string, any> {
  id?: Int64
  name?: string
}

export interface PosAppTrade extends Record<string, any> {
  actualNumber?: string
  auart?: string
  auartName?: string
  customer?: PosAppCustomer
  erpId?: string
  feeList?: PosAppFee[]
  ifbg?: string
  roomName?: string
  vbeln?: string
}

export interface PosAppTradeOutput extends Record<string, any> {
  bankList?: PosAppBank[]
  customer?: PosCustomer
  feeList?: PosAppFee[]
  tradeList?: PosAppTrade[]
}

export interface PosAppVerifyPasswordInput extends Record<string, any> {
  mac?: string
  password?: string
  projectId?: string
}

export interface PosAppZskOption extends Record<string, any> {
  createdBy?: string
  createdOn?: string
  fullCode?: string
  fundCode?: string
  fundFullName?: string
  fundName?: string
  fundTypeName?: string
  id?: Int64
  isPos?: number
  isZsk?: number
  itemClass?: number
  modifiedBy?: string
  modifiedOn?: string
  name?: string
  parentId?: Int64
  posAppScene?: string
  type?: number
}

export interface PosAppZskOutput extends Record<string, any> {
  bankList?: PosAppBank[]
  customer?: PosCustomer
  customerList?: PosAppCustomer[]
  fundName?: string
  zskOptionList?: PosAppZskOption[]
}

export interface PosBankSelectInput extends Record<string, any> {
  id?: Int64
  ids?: Int64[]
}

export interface PosBankSetDefaultInput extends Record<string, any> {
  id?: Int64
  projectId?: Int64
}

export interface PosBankUpdateInput extends Record<string, any> {
  id?: Int64
  isOn?: number
}

export interface PosBillInput extends Record<string, any> {
  id?: Int64
  key?: string
}

export interface PosCustomer extends Record<string, any> {
  createdBy?: string
  createdOn?: string
  erpId?: string
  id?: Int64
  idNumber?: string
  modifiedBy?: string
  modifiedOn?: string
  name?: string
  password?: string
  tell?: string
  zjType?: string
  zjTypeCode?: string
}

export interface PosCustomerSeachor extends Record<string, any> {
  idNumber?: string
  projectId?: Int64
  scene?: string
  tell?: string
}

export interface PosDevice extends Record<string, any> {
  createdBy?: string
  createdOn?: string
  id?: Int64
  mac?: string
  modifiedBy?: string
  modifiedOn?: string
  name?: string
  projectId?: Int64
  remark?: string
  version?: string
}

export interface PosFund extends Record<string, any> {
  createdBy?: string
  createdOn?: string
  fundCode?: string
  fundFullName?: string
  fundName?: string
  fundTypeName?: string
  id?: Int64
  isPos?: number
  isZsk?: number
  itemClass?: number
  modifiedBy?: string
  modifiedOn?: string
  posAppScene?: string
  type?: number
}

export interface PosGetIn extends Record<string, any> {
  amount?: number
  amt?: string
  appName?: string
  bankName?: string
  bankNumber?: string
  batchNo?: string
  billNo?: string
  billUrl?: string
  cancelBy?: string
  cancelOn?: string
  cancelUserCode?: string
  cardIssuer?: string
  cardNo?: string
  chinaPayRefId?: string
  createdBy?: string
  createdOn?: string
  date?: string
  erpBankId?: string
  erpCustomerId?: string
  extOrderNo?: string
  id?: Int64
  isCancel?: number
  isEffective?: number
  mac?: string
  merchantName?: string
  merchantNo?: string
  modifiedBy?: string
  modifiedOn?: string
  networkStatus?: number
  oprCode?: string
  payMode?: string
  payNo?: string
  payResult?: number
  payer?: string
  posBankId?: Int64
  posCode?: string
  projectId?: Int64
  pssxf?: string
  refId?: string
  refNo?: string
  resCode?: string
  roomInfo?: string
  scene?: string
  settleDate?: string
  syncCancelStatus?: number
  syncStatus?: number
  terminalNo?: string
  time?: string
  traceNo?: string
  transId?: string
}

export interface PosGetInCustomer extends Record<string, any> {
  customerName?: string
  erpCustomerId?: string
  getInId?: Int64
  id?: Int64
  sequence?: number
  tel?: string
  zjNumber?: string
  zjType?: string
}

export interface PosGetInFee extends Record<string, any> {
  amount?: number
  erpCustomerId?: string
  erpFeeId?: string
  erpFqId?: string
  erpId?: string
  erpProjectId?: string
  erpRoomId?: string
  erpSsNum?: string
  erpTradeId?: string
  fundActualTax?: number
  fundCode?: string
  fundName?: string
  fundType?: string
  getInId?: Int64
  id?: Int64
  isCancel?: number
  networkStatus?: number
  rcId?: string
  roomInfo?: string
  ssjlNm?: string
  sxf?: string
  sxfSyncStatus?: number
  syncCancelStatus?: number
  syncStatus?: number
  transacactionId?: string
  zsl?: number
  zsm?: string
}

export interface PosGetInOutput extends Record<string, any> {
  allCustomerName?: string
  posCustomer?: PosCustomer
  posGetIn?: PosGetIn
  posGetInFees?: PosGetInFee[]
}

export interface PosLoginInput extends Record<string, any> {
  account?: string
  id?: Int64
  mac?: string
  password?: string
  version?: string
}

export interface PosLoginOutput extends Record<string, any> {
  projectList?: PosAppProjectOutput[]
  token?: string
  userId?: Int64
  userName?: string
}

export interface PosLoginResult extends Record<string, any> {
  data?: PosLoginOutput
  msg?: string
  result?: boolean
}

export interface PosManagerPasswordInput extends Record<string, any> {
  id?: Int64
  password?: string
}

export interface PosMerchant extends Record<string, any> {
  businessName?: string
  createdBy?: string
  createdOn?: string
  erpBankId?: string
  id?: Int64
  managerPassword?: string
  merchantCode?: string
  merchantCodeScan?: string
  merchantName?: string
  modifiedBy?: string
  modifiedOn?: string
  projectId?: Int64
}

export interface PosProjectFundReplace extends Record<string, any> {
  fundId?: Int64
  id?: Int64
  projectId?: Int64
  replaceName?: string
}

export interface PosProjectFundTax extends Record<string, any> {
  fundId?: Int64
  id?: Int64
  isTax?: number
  projectId?: Int64
}

export interface PosProjectFundVo extends Record<string, any> {
  fullCode?: string
  id?: Int64
  isTax?: number
  mode?: number
  name?: string
  parentId?: Int64
  replaceId?: Int64
  replaceName?: string
  taxId?: Int64
}

export interface PosProjectInput extends Record<string, any> {
  id?: Int64
  ids?: Int64[]
}

export interface PosResult extends Record<string, any> {
  data?: any
  returnCode?: string
  returnMsg?: string
}

export interface PosSAPStkInput extends Record<string, any> {
  getInId?: Int64
  possxf?: string
  type?: string
}

export interface PosVoucher extends Record<string, any> {
  amount?: number
  aofy?: string
  aoxm?: string
  billNo?: string
  bp?: string
  bpName?: string
  cancelBy?: string
  cancelDate?: string
  cancelOn?: string
  cancelUserCode?: string
  downloadFdd?: string
  electronicBillUrl?: string
  erpId?: string
  id?: Int64
  isCancel?: number
  isEffective?: number
  jkr?: string
  kpDate?: string
  kpr?: string
  kprUserCode?: string
  mode?: string
  projectId?: Int64
  rcId?: string
  remarks?: string
  roomInfo?: string
  skr?: string
  skrUserCode?: string
  status?: number
  syncCancelStatus?: number
  syncStatus?: number
  transacactionId?: string
  zjCode?: string
}

export interface PosVoucherCreateInput extends Record<string, any> {
  getInFeeIdList?: Int64[]
  mode?: string
  projectId?: Int64
  remarks?: string
}

export interface ReversestkOutput extends Record<string, any> {
  shortlog?: string
  state?: string
}

export interface ReversestkReqInput extends Record<string, any> {
  aoxm?: string
  db_KEY?: string
  positem_ID?: string
  ssjl_NUM?: string
  type?: string
}

export interface RoleActionInput extends Record<string, any> {
  actionCodeList?: string[]
  roleId?: Int64
}

export interface SmsVo extends Record<string, any> {
  code?: string
  idNumber?: string
  password?: string
  tel?: string
}

export interface SystemVo extends Record<string, any> {
  code?: string
  current?: boolean
  enabled?: number
  moduleGroupList?: ModuleGroupVo[]
  name?: string
}

export interface TempSealInput extends Record<string, any> {
  posId?: string
}

export interface TemplateOption extends Record<string, any> {
  id?: Int64
  sealName?: string
  templateName?: string
}

export interface UserRoleInput extends Record<string, any> {
  id?: Int64
  ids?: Int64[]
  mode?: string
}

export interface WisdomCashierSeal extends Record<string, any> {
  createdBy?: string
  createdOn?: string
  customerId?: string
  id?: Int64
  isDelete?: number
  isEnabled?: number
  modifiedBy?: string
  modifiedOn?: string
  projectId?: Int64
  remark?: string
  sealCode?: string
  sealName?: string
  sealUrl?: string
  status?: string
}

export interface WisdomCashierTemplate extends Record<string, any> {
  createdBy?: string
  createdOn?: string
  erpTempId?: string
  id?: Int64
  isDelete?: number
  isEnabled?: number
  modifiedBy?: string
  modifiedOn?: string
  printCount?: string
  printStyle?: string
  printType?: string
  projectId?: Int64
  sealId?: Int64
  templatUrl?: string
  templateName?: string
}

export interface WxEmailInputVo extends Record<string, any> {
  billId?: string
  email?: string
  idNumber?: string
  roomName?: string
  stkdbkeyJson?: string
  tel1?: string
}

export interface WxHouseInputVo extends Record<string, any> {
  billId?: string
  customerName?: string
  idNumber?: string
  roomName?: string
  stkdbkeyList?: string[]
  tel1?: string
}

export interface YS extends Record<string, any> {
  aofy?: string
  aofyname?: string
  aoxm?: string
  db_KEY?: string
  fund_ACTUAL?: string
  fund_AMOUNT?: string
  fund_CODE?: string
  fund_TYPE?: string
  order_TYPE?: string
  ponum?: string
  rcid1?: string
  seq_NUM?: string
  skjh_NUM?: string
  transacactionID?: string
  ygznj?: string
  ysrq?: string
  zszdy?: string
}
export default {
  appOrgan: {
    authorize(data: MdmPermissionInput): Promise<HttpResult> {
      const path = `/api/appOrgan/authorize`
      return httpPost(path, data).then(res => res.data.data)
    },
    create(data: AppOrgan): Promise<AppFormResult> {
      const path = `/api/appOrgan/create`
      return httpPost(path, data).then(res => res.data.data)
    },
    /**
     *deleteOrgan
     */
    delete(data: AppOrgan): Promise<AppFormResult> {
      const path = `/api/appOrgan/delete`
      return httpPost(path, data).then(res => res.data.data)
    },
    /**
     *disabledOrgan
     */
    disabled(data: AppOrgan): Promise<AppFormResult> {
      const path = `/api/appOrgan/disabled`
      return httpPost(path, data).then(res => res.data.data)
    },
    /**
     *enabledOrgan
     */
    enabled(data: AppOrgan): Promise<AppFormResult> {
      const path = `/api/appOrgan/enabled`
      return httpPost(path, data).then(res => res.data.data)
    },
    /**
     *getOrgan
     */
    getList(): Promise<AppOrgan[]> {
      const path = `/api/appOrgan/getList`
      return httpGet(path).then(res => res.data.data)
    },
    /**
     *getOrgan
     */
    getOne(params: {id: Int64}): Promise<AppOrgan> {
      const path = `/api/appOrgan/getOne`
      return httpGet(path, {params}).then(res => res.data.data)
    },
    getUserAuthorizeOrgan(params: {id: Int64}): Promise<Int64[]> {
      const path = `/api/appOrgan/getUserAuthorizeOrgan`
      return httpGet(path, {params}).then(res => res.data.data)
    },
    update(data: AppOrgan): Promise<AppFormResult> {
      const path = `/api/appOrgan/update`
      return httpPost(path, data).then(res => res.data.data)
    },
  },
  appUser: {
    changePassword(data: ChangePasswordInput): Promise<HttpResult> {
      const path = `/api/appUser/changePassword`
      return httpPost(path, data).then(res => res.data.data)
    },
    /**
     *createUser
     */
    create(data: AppUser): Promise<AppFormResult> {
      const path = `/api/appUser/create`
      return httpPost(path, data).then(res => res.data.data)
    },
    /**
     *deleteUser
     */
    delete(data: AppUser): Promise<HttpResult> {
      const path = `/api/appUser/delete`
      return httpPost(path, data).then(res => res.data.data)
    },
    /**
     *disableUser
     */
    disable(params: {id: Int64}): Promise<HttpResult> {
      const path = `/api/appUser/disable`
      return httpGet(path, {params}).then(res => res.data.data)
    },
    /**
     *enableUser
     */
    enable(params: {id: Int64}): Promise<HttpResult> {
      const path = `/api/appUser/enable`
      return httpGet(path, {params}).then(res => res.data.data)
    },
    getCurrUser(): Promise<AppUser> {
      const path = `/api/appUser/getCurrUser`
      return httpGet(path).then(res => res.data.data)
    },
    getOne(params: {userId: Int64}): Promise<AppUser> {
      const path = `/api/appUser/getOne`
      return httpGet(path, {params}).then(res => res.data.data)
    },
    isAdmin(): Promise<boolean> {
      const path = `/api/appUser/isAdmin`
      return httpGet(path).then(res => res.data.data)
    },
    /**
     *updateUser
     */
    update(data: AppUser): Promise<AppFormResult> {
      const path = `/api/appUser/update`
      return httpPost(path, data).then(res => res.data.data)
    },
    updateUserInfo(data: AppUser): Promise<AppUser> {
      const path = `/api/appUser/updateUserInfo`
      return httpPost(path, data).then(res => res.data.data)
    },
  },
  audit: {
    /**
     *saveAudit
     */
    save(data: AppAudit): Promise<HttpResult> {
      const path = `/api/audit/save`
      return httpPost(path, data).then(res => res.data.data)
    },
  },
  electronicBill: {
    create(params: {getInId: Int64}): Promise<HttpResult> {
      const path = `/api/electronicBill/create`
      return httpGet(path, {params}).then(res => res.data.data)
    },
  },
  mdmProject: {
    authorize(data: MdmPermissionInput): Promise<HttpResult> {
      const path = `/api/mdmProject/authorize`
      return httpPost(path, data).then(res => res.data.data)
    },
    delete(params: {id: Int64}): Promise<HttpResult> {
      const path = `/api/mdmProject/delete`
      return httpPost(path, {params}).then(res => res.data.data)
    },
    getErpProjectList(data: ErpProjectInput): Promise<HttpResult> {
      const path = `/api/mdmProject/getErpProjectList`
      return httpPost(path, data).then(res => res.data.data)
    },
    getErpXmList(params: {organId: Int64}): Promise<ErpProjectOutput[]> {
      const path = `/api/mdmProject/getErpXmList`
      return httpGet(path, {params}).then(res => res.data.data)
    },
    getOne(params: {id: Int64}): Promise<MdmProject> {
      const path = `/api/mdmProject/getOne`
      return httpGet(path, {params}).then(res => res.data.data)
    },
    getUserAuthorizeProject(params: {id: Int64}): Promise<Int64[]> {
      const path = `/api/mdmProject/getUserAuthorizeProject`
      return httpGet(path, {params}).then(res => res.data.data)
    },
  },
  modeling: {
    appForm: {
      getList(data: MetadataForm): Promise<MetadataForm[]> {
        const path = `/api/modeling/appForm/getList`
        return httpPost(path, data).then(res => res.data.data)
      },
      getOne(params: {id?: Int64; pageId?: Int64}): Promise<MetadataForm> {
        const path = `/api/modeling/appForm/getOne`
        return httpGet(path, {params}).then(res => res.data.data)
      },
      getOneXml(data: MetadataForm): Promise<string> {
        const path = `/api/modeling/appForm/getOneXml`
        return httpPost(path, data).then(res => res.data.data)
      },
      getParentData(params: {entity: string; parentId: Int64}): Promise<AppTreeData> {
        const path = `/api/modeling/appForm/getParentData`
        return httpGet(path, {params}).then(res => res.data.data)
      },
      loadData(params: {id?: Int64; pageId?: Int64}): Promise<any> {
        const path = `/api/modeling/appForm/loadData`
        return httpGet(path, {params}).then(res => res.data.data)
      },
      save(data: AppFormData): Promise<FormSaveResult> {
        const path = `/api/modeling/appForm/save`
        return httpPost(path, data).then(res => res.data.data)
      },
    },
    appGrid: {
      delSql(params: {sql?: string}): Promise<string> {
        const path = `/api/modeling/appGrid/delSql`
        return httpGet(path, {params}).then(res => res.data.data)
      },
      getList(data: MetadataGrid): Promise<MetadataGrid[]> {
        const path = `/api/modeling/appGrid/getList`
        return httpPost(path, data).then(res => res.data.data)
      },
      getOne(data: MetadataGrid): Promise<MetadataGrid> {
        const path = `/api/modeling/appGrid/getOne`
        return httpPost(path, data).then(res => res.data.data)
      },
      getOneDesiger(data: MetadataGrid): Promise<MetadataGrid> {
        const path = `/api/modeling/appGrid/getOneDesiger`
        return httpPost(path, data).then(res => res.data.data)
      },
      loadData(data: ModelingPageSearch): Promise<PageList> {
        const path = `/api/modeling/appGrid/loadData`
        return httpPost(path, data).then(res => res.data.data)
      },
      save(data: MetadataGrid): Promise<MetadataGrid> {
        const path = `/api/modeling/appGrid/save`
        return httpPost(path, data).then(res => res.data.data)
      },
    },
    appPage: {
      /**
       *GetModuleOrComponent
       */
      getModuleOrComponent(params: {
        application?: string
        id?: Int64
        isLeaf?: boolean
        modifiedBy?: string
        modifiedOn?: string
        name?: string
        type?: string
        typeEnum?: number
      }): Promise<ComponentDto[]> {
        const path = `/api/modeling/appPage/GetModuleOrComponent`
        return httpPost(path, {params}).then(res => res.data.data)
      },
      getComponentList(params: {application?: string}): Promise<ComponentDto[]> {
        const path = `/api/modeling/appPage/getComponentList`
        return httpPost(path, {params}).then(res => res.data.data)
      },
      getList(params: {application?: string}): Promise<AppPage[]> {
        const path = `/api/modeling/appPage/getList`
        return httpPost(path, {params}).then(res => res.data.data)
      },
      getOne(data: AppPage): Promise<AppPage> {
        const path = `/api/modeling/appPage/getOne`
        return httpPost(path, data).then(res => res.data.data)
      },
      getOneDesiger(data: AppPage): Promise<AppPage> {
        const path = `/api/modeling/appPage/getOneDesiger`
        return httpPost(path, data).then(res => res.data.data)
      },
      save(data: AppPage): Promise<AppPage> {
        const path = `/api/modeling/appPage/save`
        return httpPost(path, data).then(res => res.data.data)
      },
    },
    entity: {
      createTable(data: MetadataEntity): Promise<MetadataEntity> {
        const path = `/api/modeling/entity/createTable`
        return httpPost(path, data).then(res => res.data.data)
      },
      createView(data: MetadataViewIn): Promise<MetadataView> {
        const path = `/api/modeling/entity/createView`
        return httpPost(path, data).then(res => res.data.data)
      },
      getAttrBySql(data: MetadataViewIn): Promise<MetadataAttribute[]> {
        const path = `/api/modeling/entity/getAttrBySql`
        return httpPost(path, data).then(res => res.data.data)
      },
      getList(data: EntitySearch): Promise<MetadataEntity[]> {
        const path = `/api/modeling/entity/getList`
        return httpPost(path, data).then(res => res.data.data)
      },
      getOne(data: MetadataEntity): Promise<MetadataEntity> {
        const path = `/api/modeling/entity/getOne`
        return httpPost(path, data).then(res => res.data.data)
      },
      getPageList(data: EntitySearch): Promise<PageListOfMetadataEntity> {
        const path = `/api/modeling/entity/getPageList`
        return httpPost(path, data).then(res => res.data.data)
      },
      getViewList(data: EntitySearch): Promise<MetadataView[]> {
        const path = `/api/modeling/entity/getViewList`
        return httpPost(path, data).then(res => res.data.data)
      },
      getViewPageList(data: EntitySearch): Promise<PageListOfMetadataView> {
        const path = `/api/modeling/entity/getViewPageList`
        return httpPost(path, data).then(res => res.data.data)
      },
      newId(): Promise<Int64> {
        const path = `/api/modeling/entity/newId`
        return httpGet(path).then(res => res.data.data)
      },
      updateTable(data: MetadataEntity): Promise<MetadataEntity> {
        const path = `/api/modeling/entity/updateTable`
        return httpPost(path, data).then(res => res.data.data)
      },
      updateView(data: MetadataView): Promise<MetadataView> {
        const path = `/api/modeling/entity/updateView`
        return httpPost(path, data).then(res => res.data.data)
      },
    },
    module: {
      getAllGroupList(params: {systemCode: string}): Promise<AppModuleGroup[]> {
        const path = `/api/modeling/module/getAllGroupList`
        return httpGet(path, {params}).then(res => res.data.data)
      },
      getAllModuleList(params: {systemCode: string}): Promise<AppModule[]> {
        const path = `/api/modeling/module/getAllModuleList`
        return httpGet(path, {params}).then(res => res.data.data)
      },
      getGroup(params: {id: Int64; systemCode: string}): Promise<AppModuleGroup> {
        const path = `/api/modeling/module/getGroup`
        return httpGet(path, {params}).then(res => res.data.data)
      },
      getModule(params: {id: Int64; systemCode: string}): Promise<AppModule> {
        const path = `/api/modeling/module/getModule`
        return httpGet(path, {params}).then(res => res.data.data)
      },
      getModuleGrid(params: {systemCode: string}): Promise<PageListOfModuleGrid> {
        const path = `/api/modeling/module/getModuleGrid`
        return httpGet(path, {params}).then(res => res.data.data)
      },
      getModuleGroupList(params: {systemCode: string}): Promise<ModuleGrid[]> {
        const path = `/api/modeling/module/getModuleGroupList`
        return httpGet(path, {params}).then(res => res.data.data)
      },
      getSystemList(): Promise<AppSystem[]> {
        const path = `/api/modeling/module/getSystemList`
        return httpGet(path).then(res => res.data.data)
      },
      saveAction(data: AppModule): Promise<HttpResult> {
        const path = `/api/modeling/module/saveAction`
        return httpPost(path, data).then(res => res.data.data)
      },
      saveModule(data: AppModule): Promise<HttpResult> {
        const path = `/api/modeling/module/saveModule`
        return httpPost(path, data).then(res => res.data.data)
      },
      saveModuleGroup(data: AppModuleGroup): Promise<HttpResult> {
        const path = `/api/modeling/module/saveModuleGroup`
        return httpPost(path, data).then(res => res.data.data)
      },
    },
    param: {
      getData(params: {systemCode: string}): Promise<AppParamOutput> {
        const path = `/api/modeling/param/getData`
        return httpGet(path, {params}).then(res => res.data.data)
      },
      saveConfigParam(data: AppConfigParam): Promise<HttpResult> {
        const path = `/api/modeling/param/saveConfigParam`
        return httpPost(path, data).then(res => res.data.data)
      },
      saveConfigParamGroup(data: AppConfigParamGroup): Promise<HttpResult> {
        const path = `/api/modeling/param/saveConfigParamGroup`
        return httpPost(path, data).then(res => res.data.data)
      },
      saveParam(data: AppParam): Promise<HttpResult> {
        const path = `/api/modeling/param/saveParam`
        return httpPost(path, data).then(res => res.data.data)
      },
      saveParamGroup(data: AppParamGroup): Promise<HttpResult> {
        const path = `/api/modeling/param/saveParamGroup`
        return httpPost(path, data).then(res => res.data.data)
      },
    },
  },
  posApp: {
    addAppGetIn(data: PosAppGetinIuput): Promise<PosAppGetinIuput> {
      const path = `/api/posApp/addAppGetIn`
      return httpPost(path, data).then(res => res.data.data)
    },
    asyncStateMentDetail(): Promise<HttpResult> {
      const path = `/api/posApp/asyncStateMentDetail`
      return httpGet(path).then(res => res.data.data)
    },
    beforeCancelPay(data: PosAppGetinIuput): Promise<HttpResult> {
      const path = `/api/posApp/beforeCancelPay`
      return httpPost(path, data).then(res => res.data.data)
    },
    cancelPay(data: PosAppGetinIuput): Promise<HttpResult> {
      const path = `/api/posApp/cancelPay`
      return httpPost(path, data).then(res => res.data.data)
    },
    checkVoucherStatus(data: PosVoucherCreateInput): Promise<HttpResult> {
      const path = `/api/posApp/checkVoucherStatus`
      return httpPost(path, data).then(res => res.data.data)
    },
    generateBill(data: PosAppGenerateBillInput): Promise<HttpResult> {
      const path = `/api/posApp/generateBill`
      return httpPost(path, data).then(res => res.data.data)
    },
    getBankByScene(data: PosAppBankIuput): Promise<PosAppBank[]> {
      const path = `/api/posApp/getBankByScene`
      return httpPost(path, data).then(res => res.data.data)
    },
    getBillImgByVoucherId(data: PosVoucher): Promise<HttpResult> {
      const path = `/api/posApp/getBillImgByVoucherId`
      return httpPost(path, data).then(res => res.data.data)
    },
    getChinaPayRefKey(): Promise<string> {
      const path = `/api/posApp/getChinaPayRefKey`
      return httpGet(path).then(res => res.data.data)
    },
    getCreatereceipt(params: {voucherId: Int64}): Promise<HttpResult> {
      const path = `/api/posApp/getCreatereceipt`
      return httpPost(path, {params}).then(res => res.data.data)
    },
    getCreatestk(data: PosSAPStkInput): Promise<HttpResult> {
      const path = `/api/posApp/getCreatestk`
      return httpPost(path, data).then(res => res.data.data)
    },
    getDyList(params: {sapId?: string}): Promise<PosAppMdmDyOutput[]> {
      const path = `/api/posApp/getDyList`
      return httpGet(path, {params}).then(res => res.data.data)
    },
    getFee(data: PosCustomerSeachor): Promise<PosAppTradeOutput> {
      const path = `/api/posApp/getFee`
      return httpPost(path, data).then(res => res.data.data)
    },
    getFeeByScene(data: PosGetIn): Promise<PosAppFeeOutput[]> {
      const path = `/api/posApp/getFeeByScene`
      return httpPost(path, data).then(res => res.data.data)
    },
    getFqList(params: {id?: Int64}): Promise<PosAppMdmFqOutput[]> {
      const path = `/api/posApp/getFqList`
      return httpGet(path, {params}).then(res => res.data.data)
    },
    getFund(data: PosAppGetinIuput): Promise<HttpResult> {
      const path = `/api/posApp/getFund`
      return httpPost(path, data).then(res => res.data.data)
    },
    getGetInByFeeId(params: {erpId: string}): Promise<PosGetInOutput[]> {
      const path = `/api/posApp/getGetInByFeeId`
      return httpGet(path, {params}).then(res => res.data.data)
    },
    getManagerInfo(data: PosAppVerifyPasswordInput): Promise<HttpResult> {
      const path = `/api/posApp/getManagerInfo`
      return httpPost(path, data).then(res => res.data.data)
    },
    getPosAppPrintTemplate(params: {projectId: Int64}): Promise<PosAppPrintTemplate[]> {
      const path = `/api/posApp/getPosAppPrintTemplate`
      return httpGet(path, {params}).then(res => res.data.data)
    },
    getPosGetInByPosCode(params: {posCode: string}): Promise<PosGetInOutput> {
      const path = `/api/posApp/getPosGetInByPosCode`
      return httpGet(path, {params}).then(res => res.data.data)
    },
    getPosGetInByRefNo(params: {refNo: string}): Promise<PosGetInOutput> {
      const path = `/api/posApp/getPosGetInByRefNo`
      return httpGet(path, {params}).then(res => res.data.data)
    },
    getPosGetInByTraceNo(params: {traceNo: string}): Promise<PosGetInOutput> {
      const path = `/api/posApp/getPosGetInByTraceNo`
      return httpGet(path, {params}).then(res => res.data.data)
    },
    getPosGetInListByCus(data: PosCustomerSeachor): Promise<PosGetInOutput[]> {
      const path = `/api/posApp/getPosGetInListByCus`
      return httpPost(path, data).then(res => res.data.data)
    },
    getProject(params: {
      account?: string
      id?: Int64
      mac?: string
      password?: string
      version?: string
    }): Promise<PosAppProjectOutput[]> {
      const path = `/api/posApp/getProject`
      return httpGet(path, {params}).then(res => res.data.data)
    },
    getReversestkState(data: PosSAPStkInput): Promise<ReversestkOutput> {
      const path = `/api/posApp/getReversestkState`
      return httpPost(path, data).then(res => res.data.data)
    },
    getZskFee(data: PosCustomerSeachor): Promise<PosAppZskOutput> {
      const path = `/api/posApp/getZskFee`
      return httpPost(path, data).then(res => res.data.data)
    },
    handlePayError(data: PosAppGetinIuput): Promise<HttpResult> {
      const path = `/api/posApp/handlePayError`
      return httpPost(path, data).then(res => res.data.data)
    },
    handlePaySuccess(data: PosAppGetinIuput): Promise<HttpResult> {
      const path = `/api/posApp/handlePaySuccess`
      return httpPost(path, data).then(res => res.data.data)
    },
    syncProject(params: {
      account?: string
      id?: Int64
      mac?: string
      password?: string
      version?: string
    }): Promise<PosAppProjectOutput[]> {
      const path = `/api/posApp/syncProject`
      return httpGet(path, {params}).then(res => res.data.data)
    },
    verifyPassword(data: PosAppVerifyPasswordInput): Promise<HttpResult> {
      const path = `/api/posApp/verifyPassword`
      return httpPost(path, data).then(res => res.data.data)
    },
  },
  posBank: {
    delete(params: {id?: Int64}): Promise<HttpResult> {
      const path = `/api/posBank/delete`
      return httpGet(path, {params}).then(res => res.data.data)
    },
    getBanksByProjectId(params: {projectId?: Int64}): Promise<HttpResult> {
      const path = `/api/posBank/getBanksByProjectId`
      return httpGet(path, {params}).then(res => res.data.data)
    },
    setDefault(data: PosBankSetDefaultInput): Promise<HttpResult> {
      const path = `/api/posBank/setDefault`
      return httpPost(path, data).then(res => res.data.data)
    },
    upDatePosBank(data: PosBankUpdateInput): Promise<HttpResult> {
      const path = `/api/posBank/upDatePosBank`
      return httpPost(path, data).then(res => res.data.data)
    },
  },
  posDevice: {
    delete(params: {id?: Int64}): Promise<HttpResult> {
      const path = `/api/posDevice/delete`
      return httpGet(path, {params}).then(res => res.data.data)
    },
    deleteProgram(params: {id?: Int64}): Promise<HttpResult> {
      const path = `/api/posDevice/deleteProgram`
      return httpGet(path, {params}).then(res => res.data.data)
    },
    getListByProject(params: {id?: Int64}): Promise<PosDevice[]> {
      const path = `/api/posDevice/getListByProject`
      return httpGet(path, {params}).then(res => res.data.data)
    },
  },
  posEnterpriseRcb: {
    certificate(data: EnterpriseRcb): Promise<HttpResult> {
      const path = `/api/posEnterpriseRcb/certificate`
      return httpPost(path, data).then(res => res.data.data)
    },
    create(data: EnterpriseRcb): Promise<AppFormResult> {
      const path = `/api/posEnterpriseRcb/create`
      return httpPost(path, data).then(res => res.data.data)
    },
    delete(data: EnterpriseRcb): Promise<HttpResult> {
      const path = `/api/posEnterpriseRcb/delete`
      return httpPost(path, data).then(res => res.data.data)
    },
    enrolment(data: EnterpriseRcb): Promise<HttpResult> {
      const path = `/api/posEnterpriseRcb/enrolment`
      return httpPost(path, data).then(res => res.data.data)
    },
    getApplyCert(data: EnterpriseRcb): Promise<HttpResult> {
      const path = `/api/posEnterpriseRcb/getApplyCert`
      return httpPost(path, data).then(res => res.data.data)
    },
    getEntOptions(params: {projectId?: Int64}): Promise<MetadataOption[]> {
      const path = `/api/posEnterpriseRcb/getEntOptions`
      return httpPost(path, {params}).then(res => res.data.data)
    },
    getOne(params: {id?: Int64}): Promise<EnterpriseRcb> {
      const path = `/api/posEnterpriseRcb/getOne`
      return httpGet(path, {params}).then(res => res.data.data)
    },
    getintroduceList(params: {intProjectId?: Int64; projectId?: Int64}): Promise<EnterpriseRcb[]> {
      const path = `/api/posEnterpriseRcb/getintroduceList`
      return httpPost(path, {params}).then(res => res.data.data)
    },
    handleStatus(data: EnterpriseRcb): Promise<HttpResult> {
      const path = `/api/posEnterpriseRcb/handleStatus`
      return httpPost(path, data).then(res => res.data.data)
    },
    introduceList(data: EnterpriseRcbInput): Promise<HttpResult> {
      const path = `/api/posEnterpriseRcb/introduceList`
      return httpPost(path, data).then(res => res.data.data)
    },
    update(data: EnterpriseRcb): Promise<AppFormResult> {
      const path = `/api/posEnterpriseRcb/update`
      return httpPost(path, data).then(res => res.data.data)
    },
  },
  posFund: {
    create(data: PosFund): Promise<AppFormResult> {
      const path = `/api/posFund/create`
      return httpPost(path, data).then(res => res.data.data)
    },
    delete(params: {id?: Int64}): Promise<HttpResult> {
      const path = `/api/posFund/delete`
      return httpGet(path, {params}).then(res => res.data.data)
    },
    getOne(params: {id?: Int64}): Promise<PosFund> {
      const path = `/api/posFund/getOne`
      return httpGet(path, {params}).then(res => res.data.data)
    },
    setCancelZsk(params: {id?: Int64}): Promise<HttpResult> {
      const path = `/api/posFund/setCancelZsk`
      return httpGet(path, {params}).then(res => res.data.data)
    },
    setCancelZskList(params: {ids?: string}): Promise<HttpResult> {
      const path = `/api/posFund/setCancelZskList`
      return httpGet(path, {params}).then(res => res.data.data)
    },
    setPosSxf(params: {id?: Int64}): Promise<HttpResult> {
      const path = `/api/posFund/setPosSxf`
      return httpGet(path, {params}).then(res => res.data.data)
    },
    setZsk(params: {id?: Int64}): Promise<HttpResult> {
      const path = `/api/posFund/setZsk`
      return httpGet(path, {params}).then(res => res.data.data)
    },
    setZskList(params: {ids?: string}): Promise<HttpResult> {
      const path = `/api/posFund/setZskList`
      return httpGet(path, {params}).then(res => res.data.data)
    },
    update(data: PosFund): Promise<AppFormResult> {
      const path = `/api/posFund/update`
      return httpPost(path, data).then(res => res.data.data)
    },
  },
  posMerchant: {
    addBank(data: PosBankSelectInput): Promise<HttpResult> {
      const path = `/api/posMerchant/addBank`
      return httpPost(path, data).then(res => res.data.data)
    },
    addProject(data: PosProjectInput): Promise<HttpResult> {
      const path = `/api/posMerchant/addProject`
      return httpPost(path, data).then(res => res.data.data)
    },
    delete(params: {id?: Int64}): Promise<HttpResult> {
      const path = `/api/posMerchant/delete`
      return httpGet(path, {params}).then(res => res.data.data)
    },
    getBankOptions(params: {id?: Int64}): Promise<MetadataOption[]> {
      const path = `/api/posMerchant/getBankOptions`
      return httpGet(path, {params}).then(res => res.data.data)
    },
    getDeviceOptions(params: {id?: Int64}): Promise<MetadataOption[]> {
      const path = `/api/posMerchant/getDeviceOptions`
      return httpGet(path, {params}).then(res => res.data.data)
    },
    getOne(params: {id?: Int64}): Promise<PosMerchant> {
      const path = `/api/posMerchant/getOne`
      return httpGet(path, {params}).then(res => res.data.data)
    },
    getProjectBankOptions(params: {projectId?: Int64}): Promise<MetadataOption[]> {
      const path = `/api/posMerchant/getProjectBankOptions`
      return httpGet(path, {params}).then(res => res.data.data)
    },
    removeBank(params: {id?: Int64}): Promise<HttpResult> {
      const path = `/api/posMerchant/removeBank`
      return httpGet(path, {params}).then(res => res.data.data)
    },
    removeDevice(params: {id?: Int64}): Promise<HttpResult> {
      const path = `/api/posMerchant/removeDevice`
      return httpGet(path, {params}).then(res => res.data.data)
    },
    removeProject(params: {id?: Int64}): Promise<HttpResult> {
      const path = `/api/posMerchant/removeProject`
      return httpGet(path, {params}).then(res => res.data.data)
    },
    setManagerPassword(data: PosManagerPasswordInput): Promise<HttpResult> {
      const path = `/api/posMerchant/setManagerPassword`
      return httpPost(path, data).then(res => res.data.data)
    },
  },
  posProjectFund: {
    getProjectFundVoList(params: {projectId?: Int64}): Promise<PosProjectFundVo[]> {
      const path = `/api/posProjectFund/getProjectFundVoList`
      return httpGet(path, {params}).then(res => res.data.data)
    },
    setProjectFundTax(data: PosProjectFundTax): Promise<HttpResult> {
      const path = `/api/posProjectFund/setProjectFundTax`
      return httpPost(path, data).then(res => res.data.data)
    },
    setReplaceName(data: PosProjectFundReplace): Promise<HttpResult> {
      const path = `/api/posProjectFund/setReplaceName`
      return httpPost(path, data).then(res => res.data.data)
    },
  },
  posVoucher: {
    /**
     *getOne
     */
    create(data: PosVoucherCreateInput): Promise<HttpResult> {
      const path = `/api/posVoucher/create`
      return httpPost(path, data).then(res => res.data.data)
    },
  },
  posgetinfee: {
    exportRevokedBillList(data: AppTableQuery): Promise<string> {
      const path = `/api/posgetinfee/exportRevokedBillList`
      return httpPost(path, data).then(res => res.data.data)
    },
    exportValidBillList(data: AppTableQuery): Promise<string> {
      const path = `/api/posgetinfee/exportValidBillList`
      return httpPost(path, data).then(res => res.data.data)
    },
  },
  public: {
    account: {
      login(data: LoginInput): Promise<LoginResult> {
        const path = `/api/public/account/login`
        return httpPost(path, data).then(res => res.data.data)
      },
    },
    component: {
      delEntity(data: AppDeleteAction): Promise<AppDeleteResult> {
        const path = `/api/public/component/delEntity`
        return httpPost(path, data).then(res => res.data.data)
      },
      getAppTreeList(params: {scene: number}): Promise<AppTreeDTO[]> {
        const path = `/api/public/component/getAppTreeList`
        return httpGet(path, {params}).then(res => res.data.data)
      },
      getFormData(data: AppFormQuery): Promise<any> {
        const path = `/api/public/component/getFormData`
        return httpPost(path, data).then(res => res.data.data)
      },
      getOptions(params: {scene: string}): Promise<MetadataOption[]> {
        const path = `/api/public/component/getOptions`
        return httpGet(path, {params}).then(res => res.data.data)
      },
      getTableList(data: AppTableQuery): Promise<AppTableList> {
        const path = `/api/public/component/getTableList`
        return httpPost(path, data).then(res => res.data.data)
      },
      getValue(params: {scene: number}): Promise<AppUserMemory> {
        const path = `/api/public/component/getValue`
        return httpGet(path, {params}).then(res => res.data.data)
      },
      saveForm(data: AppFormSaveData): Promise<AppFormResult> {
        const path = `/api/public/component/saveForm`
        return httpPost(path, data).then(res => res.data.data)
      },
      setValue(data: AppUserMemory): Promise<AppUserMemory> {
        const path = `/api/public/component/setValue`
        return httpPost(path, data).then(res => res.data.data)
      },
    },
    delAttach(params: {id: Int64}): Promise<HttpResult> {
      const path = `/api/public/delAttach`
      return httpPost(path, {params}).then(res => res.data.data)
    },
    download(params: {fileName: string; filePath: string}): Promise<string> {
      const path = `/api/public/download`
      return httpGet(path, {params}).then(res => res.data.data)
    },
    downloadAttach(params: {id: Int64}): Promise<string> {
      const path = `/api/public/downloadAttach`
      return httpGet(path, {params}).then(res => res.data.data)
    },
    emailInterface: {
      /**
       *sendEmail
       */
      send(): Promise<HttpResult> {
        const path = `/api/public/emailInterface/send`
        return httpGet(path).then(res => res.data.data)
      },
    },
    fdd: {
      /**
       *findVerifyInfo
       */
      companyRegisterCallback(data: EntAuthInput): Promise<HttpResult> {
        const path = `/api/public/fdd/companyRegisterCallback`
        return httpPost(path, data).then(res => res.data.data)
      },
      findVerifyInfo(data: EnterpriseRcb): Promise<HttpResult> {
        const path = `/api/public/fdd/findVerifyInfo`
        return httpPost(path, data).then(res => res.data.data)
      },
      getApplyCert(data: EnterpriseRcb): Promise<HttpResult> {
        const path = `/api/public/fdd/getApplyCert`
        return httpPost(path, data).then(res => res.data.data)
      },
      register(data: EnterpriseRcb): Promise<HttpResult> {
        const path = `/api/public/fdd/register`
        return httpPost(path, data).then(res => res.data.data)
      },
      verGetCompanyUrl(data: EnterpriseRcb): Promise<HttpResult> {
        const path = `/api/public/fdd/verGetCompanyUrl`
        return httpPost(path, data).then(res => res.data.data)
      },
    },
    getAttachByIds(params: {id: Int64}): Promise<Attach> {
      const path = `/api/public/getAttachByIds`
      return httpGet(path, {params}).then(res => res.data.data)
    },
    getAttachList(params: {id?: Int64; refId?: string; refType?: string}): Promise<Attach[]> {
      const path = `/api/public/getAttachList`
      return httpGet(path, {params}).then(res => res.data.data)
    },
    getBillUrlKey(params: {id?: Int64}): Promise<string> {
      const path = `/api/public/getBillUrlKey`
      return httpGet(path, {params}).then(res => res.data.data)
    },
    getContractImgageUrl(params: {id?: Int64}): Promise<string> {
      const path = `/api/public/getContractImgageUrl`
      return httpGet(path, {params}).then(res => res.data.data)
    },
    httpsDownload(params: {fileName: string; filePath: string}): Promise<string> {
      const path = `/api/public/httpsDownload`
      return httpGet(path, {params}).then(res => res.data.data)
    },
    posSap: {
      getAppletCallSap(data: AppletReqInput): Promise<AppletReqOutput[]> {
        const path = `/api/public/pos-sap/getAppletCallSap`
        return httpPost(path, data).then(res => res.data.data)
      },
      getBankInfoList(params: {AOXM: string}): Promise<BankInfo[]> {
        const path = `/api/public/pos-sap/getBankInfoList`
        return httpGet(path, {params}).then(res => res.data.data)
      },
      getCreatereceipt(data: CreatereceiptInput): Promise<CreatereceiptOutput> {
        const path = `/api/public/pos-sap/getCreatereceipt`
        return httpPost(path, data).then(res => res.data.data)
      },
      getCreatestk(data: CreatestkReqInput): Promise<CreatestkOutput> {
        const path = `/api/public/pos-sap/getCreatestk`
        return httpPost(path, data).then(res => res.data.data)
      },
      getCustomList(data: OrderInputT): Promise<Custom[]> {
        const path = `/api/public/pos-sap/getCustomList`
        return httpPost(path, data).then(res => res.data.data)
      },
      getHouseList(data: HouseSearch): Promise<PageListOfHouseOutput> {
        const path = `/api/public/pos-sap/getHouseList`
        return httpPost(path, data).then(res => res.data.data)
      },
      getHouseListByPosId(params: {posId?: string}): Promise<HouseOutput[]> {
        const path = `/api/public/pos-sap/getHouseListByPosId`
        return httpGet(path, {params}).then(res => res.data.data)
      },
      getOrderList(data: OrderInputT): Promise<CnarrayOutput[]> {
        const path = `/api/public/pos-sap/getOrderList`
        return httpPost(path, data).then(res => res.data.data)
      },
      getPosTempSeal(data: TempSealInput): Promise<HttpResult> {
        const path = `/api/public/pos-sap/getPosTempSeal`
        return httpPost(path, data).then(res => res.data.data)
      },
      getReversestkState(data: ReversestkReqInput): Promise<ReversestkOutput> {
        const path = `/api/public/pos-sap/getReversestkState`
        return httpPost(path, data).then(res => res.data.data)
      },
    },
    posApp: {
      login(data: PosLoginInput): Promise<PosLoginResult> {
        const path = `/api/public/posApp/login`
        return httpPost(path, data).then(res => res.data.data)
      },
    },
    printBill(data: PosBillInput): Promise<HttpResult> {
      const path = `/api/public/printBill`
      return httpPost(path, data).then(res => res.data.data)
    },
    saptask: {
      syncGetCreatestkTask(): Promise<HttpResult> {
        const path = `/api/public/saptask/syncGetCreatestkTask`
        return httpGet(path).then(res => res.data.data)
      },
      syncgetCreatereceiptTask(): Promise<HttpResult> {
        const path = `/api/public/saptask/syncgetCreatereceiptTask`
        return httpGet(path).then(res => res.data.data)
      },
    },
    statement: {
      getStatementFromFtp(): Promise<HttpResult> {
        const path = `/api/public/statement/getStatementFromFtp`
        return httpGet(path).then(res => res.data.data)
      },
    },
    /**
     *uploadFile
     */
    upload(params: {directory?: string}): Promise<string> {
      const path = `/api/public/upload`
      return httpPost(path, {params}).then(res => res.data.data)
    },
    uploadAttach(params: {directory?: string; refId?: string; refType?: string}): Promise<string> {
      const path = `/api/public/uploadAttach`
      return httpPost(path, {params}).then(res => res.data.data)
    },
    uploadImage(): Promise<string> {
      const path = `/api/public/uploadImage`
      return httpPost(path).then(res => res.data.data)
    },
    uploadSeal(): Promise<string> {
      const path = `/api/public/uploadSeal`
      return httpPost(path).then(res => res.data.data)
    },
    uploadTicketTemplate(): Promise<string> {
      const path = `/api/public/uploadTicketTemplate`
      return httpPost(path).then(res => res.data.data)
    },
    wxcustomer: {
      /**
       *getUserInfoByIdNumberAndTel
       */
      getUserInfoByIdNumber(params: {idNumber: string; tel: string}): Promise<HttpResult> {
        const path = `/api/public/wxcustomer/getUserInfoByIdNumber`
        return httpGet(path, {params}).then(res => res.data.data)
      },
      login(params: {idNumber: string; password: string}): Promise<HttpResult> {
        const path = `/api/public/wxcustomer/login`
        return httpGet(path, {params}).then(res => res.data.data)
      },
      updateUserPasswordByPhone(params: {password: string; tel: string}): Promise<HttpResult> {
        const path = `/api/public/wxcustomer/updateUserPasswordByPhone`
        return httpGet(path, {params}).then(res => res.data.data)
      },
      updateUserTelByIdNumber(params: {
        idNumber: string
        oldTel: string
        tel: string
      }): Promise<HttpResult> {
        const path = `/api/public/wxcustomer/updateUserTelByIdNumber`
        return httpGet(path, {params}).then(res => res.data.data)
      },
    },
    wxhouse: {
      getBillImgUrl(data: WxHouseInputVo): Promise<string> {
        const path = `/api/public/wxhouse/getBillImgUrl`
        return httpPost(path, data).then(res => res.data.data)
      },
      getHouseList(data: WxHouseInputVo): Promise<HttpResult> {
        const path = `/api/public/wxhouse/getHouseList`
        return httpPost(path, data).then(res => res.data.data)
      },
      getRoomInfo(data: WxHouseInputVo): Promise<HttpResult> {
        const path = `/api/public/wxhouse/getRoomInfo`
        return httpPost(path, data).then(res => res.data.data)
      },
      getRoomList(data: WxHouseInputVo): Promise<HttpResult> {
        const path = `/api/public/wxhouse/getRoomList`
        return httpPost(path, data).then(res => res.data.data)
      },
      getRoomListByName(data: WxHouseInputVo): Promise<HttpResult> {
        const path = `/api/public/wxhouse/getRoomListByName`
        return httpPost(path, data).then(res => res.data.data)
      },
    },
    wxsendemail: {
      sendEmail(data: WxEmailInputVo): Promise<HttpResult> {
        const path = `/api/public/wxsendemail/sendEmail`
        return httpPost(path, data).then(res => res.data.data)
      },
    },
    wxsendsms: {
      getSessionId: {
        /**
         *getSessionId
         */
        get(): Promise<any> {
          const path = `/api/public/wxsendsms/getSessionId`
          return httpGet(path).then(res => res.data.data)
        },
        /**
         *getSessionId
         */
        head(): Promise<any> {
          const path = `/api/public/wxsendsms/getSessionId`
          return httpHead(path).then(res => res.data.data)
        },
        /**
         *getSessionId
         */
        post(): Promise<any> {
          const path = `/api/public/wxsendsms/getSessionId`
          return httpPost(path).then(res => res.data.data)
        },
        /**
         *getSessionId
         */
        put(): Promise<any> {
          const path = `/api/public/wxsendsms/getSessionId`
          return httpPut(path).then(res => res.data.data)
        },
        /**
         *getSessionId
         */
        delete(): Promise<any> {
          const path = `/api/public/wxsendsms/getSessionId`
          return httpDelete(path).then(res => res.data.data)
        },
        /**
         *getSessionId
         */
        options(): Promise<any> {
          const path = `/api/public/wxsendsms/getSessionId`
          return httpOptions(path).then(res => res.data.data)
        },
        /**
         *getSessionId
         */
        patch(): Promise<any> {
          const path = `/api/public/wxsendsms/getSessionId`
          return httpPatch(path).then(res => res.data.data)
        },
      },
      setSingleSms(data: SmsVo): Promise<HttpResult> {
        const path = `/api/public/wxsendsms/setSingleSms`
        return httpPost(path, data).then(res => res.data.data)
      },
      validate(data: SmsVo): Promise<HttpResult> {
        const path = `/api/public/wxsendsms/validate`
        return httpPost(path, data).then(res => res.data.data)
      },
    },
  },
  role: {
    addUserRole(data: UserRoleInput): Promise<HttpResult> {
      const path = `/api/role/addUserRole`
      return httpPost(path, data).then(res => res.data.data)
    },
    authorizeActions(data: RoleActionInput): Promise<HttpResult> {
      const path = `/api/role/authorizeActions`
      return httpPost(path, data).then(res => res.data.data)
    },
    deleteRole(data: AppRole): Promise<AppRole> {
      const path = `/api/role/deleteRole`
      return httpPost(path, data).then(res => res.data.data)
    },
    deleteUserRole(params: {id?: Int64}): Promise<Int64> {
      const path = `/api/role/deleteUserRole`
      return httpGet(path, {params}).then(res => res.data.data)
    },
    getRoleActionCodeList(params: {id?: Int64}): Promise<string[]> {
      const path = `/api/role/getRoleActionCodeList`
      return httpGet(path, {params}).then(res => res.data.data)
    },
  },
  security: {
    getPermissions(params: {systemCode?: string}): Promise<AppPermissions> {
      const path = `/api/security/getPermissions`
      return httpGet(path, {params}).then(res => res.data.data)
    },
  },
  unionpayInfo: {
    getUnionpayInfo(data: any): Promise<HttpResult> {
      const path = `/api/unionpayInfo/getUnionpayInfo`
      return httpPost(path, data).then(res => res.data.data)
    },
  },
  v4: {
    posActual: {
      getActualDate(): Promise<PosResult> {
        const path = `/api/v4/posActual/getActualDate`
        return httpPost(path).then(res => res.data.data)
      },
      handleActualBankList(): Promise<PosResult> {
        const path = `/api/v4/posActual/handleActualBankList`
        return httpGet(path).then(res => res.data.data)
      },
    },
  },
  wisdomCashierSeal: {
    /**
     *UploadSeal
     */
    uploadSeal(data: WisdomCashierSeal): Promise<HttpResult> {
      const path = `/api/wisdomCashierSeal/UploadSeal`
      return httpPost(path, data).then(res => res.data.data)
    },
    create(data: WisdomCashierSeal): Promise<AppFormResult> {
      const path = `/api/wisdomCashierSeal/create`
      return httpPost(path, data).then(res => res.data.data)
    },
    delete(data: WisdomCashierSeal): Promise<HttpResult> {
      const path = `/api/wisdomCashierSeal/delete`
      return httpPost(path, data).then(res => res.data.data)
    },
    disable(params: {id?: Int64}): Promise<HttpResult> {
      const path = `/api/wisdomCashierSeal/disable`
      return httpGet(path, {params}).then(res => res.data.data)
    },
    enable(params: {id?: Int64}): Promise<HttpResult> {
      const path = `/api/wisdomCashierSeal/enable`
      return httpGet(path, {params}).then(res => res.data.data)
    },
    getOne(params: {id?: Int64}): Promise<WisdomCashierSeal> {
      const path = `/api/wisdomCashierSeal/getOne`
      return httpGet(path, {params}).then(res => res.data.data)
    },
    getSealOptions(params: {projectId?: Int64}): Promise<MetadataOption[]> {
      const path = `/api/wisdomCashierSeal/getSealOptions`
      return httpGet(path, {params}).then(res => res.data.data)
    },
    update(data: WisdomCashierSeal): Promise<AppFormResult> {
      const path = `/api/wisdomCashierSeal/update`
      return httpPost(path, data).then(res => res.data.data)
    },
  },
  wisdomCashierTemplate: {
    /**
     *GenerateBill
     */
    generateBill(data: GenerateWebBillInput): Promise<HttpResult> {
      const path = `/api/wisdomCashierTemplate/GenerateBill`
      return httpPost(path, data).then(res => res.data.data)
    },
    create(data: WisdomCashierTemplate): Promise<AppFormResult> {
      const path = `/api/wisdomCashierTemplate/create`
      return httpPost(path, data).then(res => res.data.data)
    },
    delete(data: WisdomCashierTemplate): Promise<HttpResult> {
      const path = `/api/wisdomCashierTemplate/delete`
      return httpPost(path, data).then(res => res.data.data)
    },
    disable(params: {id?: Int64}): Promise<HttpResult> {
      const path = `/api/wisdomCashierTemplate/disable`
      return httpGet(path, {params}).then(res => res.data.data)
    },
    enable(params: {id?: Int64}): Promise<HttpResult> {
      const path = `/api/wisdomCashierTemplate/enable`
      return httpGet(path, {params}).then(res => res.data.data)
    },
    getOne(params: {id?: Int64}): Promise<WisdomCashierTemplate> {
      const path = `/api/wisdomCashierTemplate/getOne`
      return httpGet(path, {params}).then(res => res.data.data)
    },
    getTemplateOptions(params: {projectId?: Int64}): Promise<TemplateOption[]> {
      const path = `/api/wisdomCashierTemplate/getTemplateOptions`
      return httpGet(path, {params}).then(res => res.data.data)
    },
    update(data: WisdomCashierTemplate): Promise<AppFormResult> {
      const path = `/api/wisdomCashierTemplate/update`
      return httpPost(path, data).then(res => res.data.data)
    },
  },
}
